Germany | Finland | Saint Petersburg | Italy
function getPagesLinks($link='') { global $VM_LANG; $display_count = 9; $page_count = ceil($this->total / $this->limit); $active_page = ceil(($this->limitstart + 1) / $this->limit); if ($display_count >= $page_count) { $start_loop = 1; $stop_loop = $page_count; } else { $ltrt = floor(($display_count - 2) / 2); // start $start_loop = min($active_page - $ltrt, $page_count - $display_count + 1); if ($start_loop <= 3) { $start_loop = 1; } // stop $stop_loop = max($active_page + $ltrt, $display_count); if ($stop_loop >= ($page_count - 2)) { $stop_loop = $page_count; } } $html = ''; return $html; Страница 3 из 4
Показано 73 - 108 из 136